package com.gitee.urick.union.config;

import com.power.doc.model.ApiConfig;

/**
 * @author Rick 2021/02/08
 * @since 1.0
 */
public class UnionConfig extends ApiConfig {
    /**
     * check html flag
     */
    private boolean html = Boolean.FALSE;
    /**
     * markdown common doc to html start order
     */
    private Integer startOrder;
    /**
     * class api type
     * <p>
     * TRUE: Class Handler
     * FALSE: Method Handler
     *
     * @since 1.0.0
     */
    private boolean classApiType = Boolean.TRUE;

    /**
     * common document
     */
    private String commonDocPath;

    private String copyright;

    public boolean isHtml() {
        return html;
    }

    public void setHtml(boolean html) {
        this.html = html;
    }

    public boolean isClassApiType() {
        return classApiType;
    }

    public void setClassApiType(boolean classApiType) {
        this.classApiType = classApiType;
    }

    public String getCommonDocPath() {
        return commonDocPath;
    }

    public void setCommonDocPath(String commonDocPath) {
        this.commonDocPath = commonDocPath;
    }

    public String getCopyright() {
        return copyright;
    }

    public void setCopyright(String copyright) {
        this.copyright = copyright;
    }

    public Integer getStartOrder() {
        return startOrder == null ? 0 : startOrder;
    }

    public void setStartOrder(Integer startOrder) {
        this.startOrder = startOrder;
    }
}
